package top.xxyu.quartz.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "quartztask")
@Data
public class QuartzTask {

    @Id
    private String id;
    @Column(name = "taskName")
    private String taskName;
    @Column(name = "cronExp")
    private String cronExp;
    @Column
    private String taskClass;

}
